{include file="common/header"}
<div class="main">
    <div class="main_tab_ht"></div>
    <div class="main_tab">
        <div class="wrap">
            <div class="main_toggle toggle2">
                <ul>
                    {volist name=":catalog_child($catalog.level1)" id="vo"}
                    <li class="{if $catalog.id == $vo.id}on{/if}"><a href="{$vo.url}">{$vo.title}</a></li>
                    {/volist}
                </ul>
            </div>
        </div>
    </div>
    <div class="wrap">
        <div class="news_list2">
            <div class="news_lt">
                {empty name="list"}
                <div class="tac text-secondary">本分类下无任何数据！</div>
                {/empty}
                <ul>
                    {volist name="list" id="vo"}
                    <li>
                        <div class="list">
                            <h3><a href="{$vo.url}" target="_blank">{$vo.title}</a><span></span></h3>
                            <div class="div_tag">
                                <p class="p_time flt">{:substr($vo.create_time,0,10)}</p>
                                <div class="clear"></div>
                            </div>
                            <div class="text">{$vo.description}</div>
                            <div class="btn"><a href="{$vo.url}" target="_blank"><span>阅读全文</span></a></div>
                        </div>
                    </li>
                    {/volist}
                </ul>
                {$page|raw}
            </div>
            <div class="news_rt">
                <div class="tips_search">
                    <div class="div_input">
                        <form name="formsearch" action="" method="get">
                            <input name="keyword" id="keyword" type="text" placeholder="搜索文章">
                            <a onclick="location.href='{:url('search')}' + '&keyword=' + $('#keyword').val()"></a>
                        </form>
                    </div>
                </div>
                <div class="item item2"> 
                    <span class="span_tit">热门文章</span>
                    <ul>
                        {volist name=":news(['ishot'], 10, $catalog.level1)" id="vo"}
                        <li><a href="{$vo.url}" target="_blank" titlte="{$vo.title}">{$vo.title}</a></li>
                        {/volist}
                    </ul>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>
{include file="common/footer"}